Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No_std support #782

Merged
merged 17 commits into from
Dec 16, 2024
Merged

No_std support #782

merged 17 commits into from
Dec 16, 2024

Conversation

SethDusek
Copy link
Collaborator

@SethDusek SethDusek commented Nov 27, 2024

Add no_std support, and make ergo-merkle-tree & ergo-nipopow optional. Without std the following features are disabled:

Also raised MSRV to 1.81, to take advantage of core::error::Error.

Will need to wait for PRs in bounded-vec (ergoplatform/bounded-vec#27), and ergo_avltree_rust (ergoplatform/ergo_avltree_rust#5) before this can be merged merged

Closes #778

@SethDusek SethDusek marked this pull request as ready for review November 27, 2024 08:40
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12358210597

Details

  • 125 of 217 (57.6%) changed or added relevant lines in 56 files are covered.
  • 71 unchanged lines in 34 files lost coverage.
  • Overall coverage decreased (-0.4%) to 78.384%

Changes Missing Coverage Covered Lines Changed/Added Lines %
ergo-chain-types/src/ec_point.rs 1 2 50.0%
ergo-lib/src/chain/transaction.rs 1 2 50.0%
ergotree-interpreter/src/eval/create_avl_tree.rs 0 1 0.0%
ergotree-interpreter/src/eval/savltree.rs 0 1 0.0%
ergotree-interpreter/src/eval/subst_const.rs 0 1 0.0%
ergotree-interpreter/src/eval/tree_lookup.rs 0 1 0.0%
ergotree-interpreter/src/sigma_protocol/challenge.rs 2 3 66.67%
ergotree-interpreter/src/sigma_protocol/wscalar.rs 0 1 0.0%
ergotree-ir/src/chain/context_extension.rs 11 12 91.67%
ergotree-ir/src/chain/ergo_box/box_id.rs 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
ergotree-interpreter/src/sigma_protocol/challenge.rs 1 90.91%
ergotree-ir/src/traversable.rs 1 83.33%
ergotree-interpreter/src/sigma_protocol/prover.rs 1 78.13%
ergo-chain-types/src/header.rs 1 94.78%
ergotree-ir/src/mir/expr.rs 1 68.86%
ergo-merkle-tree/src/merkletree.rs 1 97.41%
ergotree-interpreter/src/eval/apply.rs 1 72.0%
ergotree-ir/src/chain/ergo_box/box_id.rs 1 66.67%
ergo-p2p/src/peer_info.rs 1 68.42%
ergotree-ir/src/chain/address.rs 1 75.28%
Totals Coverage Status
Change from base Build 12343268224: -0.4%
Covered Lines: 10998
Relevant Lines: 14031

💛 - Coveralls

@SethDusek SethDusek merged commit 020421d into develop Dec 16, 2024
11 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no_std support
3 participants